﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Service.BusinessLayer.Entities;
using Service.DataAccess.DataAccessLogic;

namespace Service.BusinessLayer.Logic
{
    public class XL_SoThuChi
    {
        private SoThuChi_DA stcda = new SoThuChi_DA();
        public void them(SoThuChi stc)
        {
            stcda.them(stc);
        }
        public void sua(SoThuChi stc)
        {
            stcda.sua(stc);
        }
        public void xoa(string sochungtu)
        {
            stcda.xoa(sochungtu);
        }
        public DataSet LayDS()
        {
            DataSet ds = new DataSet();
            ds = stcda.LayDS();
            return ds;
        }
        public DataSet LayDS_TheoNgaychi(DateTime ngaychi)
        {
            DataSet ds = new DataSet();
            ds = stcda.LayDS_TheoNgayChi(ngaychi);
            return ds;
        }
        public DataSet LayDS_NgayBD_NgayKT(DateTime NgayBD,DateTime NgayKT)
        {
            DataSet ds = new DataSet();
            ds = stcda.LayDS_NgayBD_NgayKT(NgayBD, NgayKT);
            return ds;
        }
    }
}
